package com.ruoyi.syf.TCPSocket;

import com.ruoyi.common.utils.TCPSocketUtil;

import java.util.Arrays;

public class ClientB {
        private static final String HOST = "localhost";
    private static final int PORT = 12345;

    public static void main(String[] args) {
        String[] messages = {"ClientB:Message 1", "ClientB:Message 2", "ClientB:Message 3"};
        TCPSocketUtil.sendData(HOST,PORT,Arrays.toString(messages));
    }
}
